home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-06-15 | 1.8 KB | 51 lines | [TEXT/GEOL] |
- Item 8740023 11-June-90 16:02PDT
-
- From: ISD Intelligent Sys Design,M Staley,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: Active Window Problem
-
- Hello Fellow MacAppers,
-
- I've had enough! You know how frustrated you get when you want to
- do something simple, but you can't find the right combination of
- code/objects/overrides to get the job done. It makes you want to
- throw the monitor through the window even though it isn't the
- monitor's fault. Everyone know's its the CPU's fault because
- programmer's don't make mistakes. I have reached this point
- (yet again) and I need to see if someone brighter can tell me
- how to solve a fairly simple problem. Here is the short
- description of what I need to be able to do:
-
- I have 2 windows consisting of many views each.
-
- Window 1 is the active window. Let's say that window 1 is
- just a simple TEView with some text that is highlighted. It
- makes very little difference what is in the window or how it
- is built.
-
- Window 2 is a small window containing a couple of buttons. It
- is not the active window.
-
- Problem: I need to be able to point to one of the buttons in
- window 2 and click on it. Currently this causes window 2 to
- become the active window. I need window 1 to be reactivated
- after the completion of the button command without any further
- action by the user. This will leave the user in the state
- that existed prior to his/her pressing of the button. We are
- using the buttons to control external devices and we don't
- want to force the user to reactivate window 1 by clicking in
- the view.
-
- I hope that someone has an idea of how this might be done. The
- MacApp debugger does something similar when you do a 'Go' and
- the last active window is reactivated. Any help provided is
- greatly appreciated.
-
- Learn to Auto-X,
-
-
- Mike
-
-